package com.yicong.ants.bean.circle;

/**
 * @author cch
 * @version 2020/11/3
 */
public class PricingInfo {

    float base;
    float gender;
    float age_amount_1;
    float age_amount_2;
    float age_amount_3;
    float age_amount_4;
    float address_amount_1;
    float address_amount_2;
    float address_amount_3;

    public PricingInfo() {
    }

    public float getBase() {
        return this.base;
    }

    public float getGender() {
        return this.gender;
    }

    public float getAge_amount_1() {
        return this.age_amount_1;
    }

    public float getAge_amount_2() {
        return this.age_amount_2;
    }

    public float getAge_amount_3() {
        return this.age_amount_3;
    }

    public float getAge_amount_4() {
        return this.age_amount_4;
    }

    public float getAddress_amount_1() {
        return this.address_amount_1;
    }

    public float getAddress_amount_2() {
        return this.address_amount_2;
    }

    public float getAddress_amount_3() {
        return this.address_amount_3;
    }

    public void setBase(float base) {
        this.base = base;
    }

    public void setGender(float gender) {
        this.gender = gender;
    }

    public void setAge_amount_1(float age_amount_1) {
        this.age_amount_1 = age_amount_1;
    }

    public void setAge_amount_2(float age_amount_2) {
        this.age_amount_2 = age_amount_2;
    }

    public void setAge_amount_3(float age_amount_3) {
        this.age_amount_3 = age_amount_3;
    }

    public void setAge_amount_4(float age_amount_4) {
        this.age_amount_4 = age_amount_4;
    }

    public void setAddress_amount_1(float address_amount_1) {
        this.address_amount_1 = address_amount_1;
    }

    public void setAddress_amount_2(float address_amount_2) {
        this.address_amount_2 = address_amount_2;
    }

    public void setAddress_amount_3(float address_amount_3) {
        this.address_amount_3 = address_amount_3;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof PricingInfo)) return false;
        final PricingInfo other = (PricingInfo) o;
        if (!other.canEqual((Object) this)) return false;
        if (Float.compare(this.getBase(), other.getBase()) != 0) return false;
        if (Float.compare(this.getGender(), other.getGender()) != 0) return false;
        if (Float.compare(this.getAge_amount_1(), other.getAge_amount_1()) != 0) return false;
        if (Float.compare(this.getAge_amount_2(), other.getAge_amount_2()) != 0) return false;
        if (Float.compare(this.getAge_amount_3(), other.getAge_amount_3()) != 0) return false;
        if (Float.compare(this.getAge_amount_4(), other.getAge_amount_4()) != 0) return false;
        if (Float.compare(this.getAddress_amount_1(), other.getAddress_amount_1()) != 0)
            return false;
        if (Float.compare(this.getAddress_amount_2(), other.getAddress_amount_2()) != 0)
            return false;
        if (Float.compare(this.getAddress_amount_3(), other.getAddress_amount_3()) != 0)
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof PricingInfo;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + Float.floatToIntBits(this.getBase());
        result = result * PRIME + Float.floatToIntBits(this.getGender());
        result = result * PRIME + Float.floatToIntBits(this.getAge_amount_1());
        result = result * PRIME + Float.floatToIntBits(this.getAge_amount_2());
        result = result * PRIME + Float.floatToIntBits(this.getAge_amount_3());
        result = result * PRIME + Float.floatToIntBits(this.getAge_amount_4());
        result = result * PRIME + Float.floatToIntBits(this.getAddress_amount_1());
        result = result * PRIME + Float.floatToIntBits(this.getAddress_amount_2());
        result = result * PRIME + Float.floatToIntBits(this.getAddress_amount_3());
        return result;
    }

    public String toString() {
        return "PricingInfo(base=" + this.getBase() + ", gender=" + this.getGender() + ", age_amount_1=" + this.getAge_amount_1() + ", age_amount_2=" + this.getAge_amount_2() + ", age_amount_3=" + this.getAge_amount_3() + ", age_amount_4=" + this.getAge_amount_4() + ", address_amount_1=" + this.getAddress_amount_1() + ", address_amount_2=" + this.getAddress_amount_2() + ", address_amount_3=" + this.getAddress_amount_3() + ")";
    }
}
